const bs=require('./bd/index')
const tokenget=(token)=>{
  
    bs.query(" SELECT * FROM token",(err,re)=>{
   const nextToken= re.indexOf(item =>item===token)
    console.log(nextToken);
   })
 
}
module.exports =tokenget